package com.lingdong.onlinejudge.judge.codesandbox;

import com.lingdong.onlinejudge.judge.codesandbox.model.ExecuteCodeRequest;
import com.lingdong.onlinejudge.judge.codesandbox.model.ExecuteCodeResponse;

/**
 * 代码沙箱接口定义
 */

public interface CodeSandbox {

    /**
     * 执行代码
     * @param executeCodeRequest 执行代码的请求
     * @return 结果
     */
    ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest);
}
